﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Web.Master" AutoEventWireup="true" CodeBehind="MUpTeaPwd.aspx.cs" Inherits="WebApp.UpPwd" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">

        .auto-style20 {
            width: 109px;
        }
        .auto-style24 {
            width: 64px;
        }
        .auto-style18 {
            height: 41px;
            width: 109px;
        }
        .auto-style22 {
            height: 41px;
            width: 64px;
        }
        .auto-style22 {
            width: 139px;
        }
        .auto-style24 {
            width: 139px;
            height: 45px;
        }
        </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

        当前所在位置：教师信息管理 〉修改教师密码<br />
    <p style="text-align:center; font-family: 华文行楷; font-size: 35px; color: #000000;">&nbsp;修改教师密码</p>
     <br />

   
    
             <table class="auto-style1" style="margin:auto; font-size: large; height: 195px; width: 429px;">
                 <tr>
                     <td style="text-align:right" class="auto-style20">
                         <asp:Label ID="lblMTName" runat="server" Text="用户名：" Font-Bold="True" ForeColor="Black"></asp:Label>
                     </td>
                     <td class="auto-style24">
                         <asp:TextBox ID="txtMTNa" runat="server" Height="20px" Width="150px"></asp:TextBox>
                     </td>
                     <td>

                         

                         <asp:RequiredFieldValidator ID="rfvMT1" runat="server" ControlToValidate="txtMTNa" ErrorMessage="RequiredFieldValidator">用户名不能为空！</asp:RequiredFieldValidator>

                         

                     </td>
                 </tr>
                 <tr>
                     <td style="text-align:right" class="auto-style18">
                         <asp:Label ID="lblMTPwd" runat="server" Text="新密码：" Font-Bold="True" ForeColor="Black"></asp:Label>
                     </td>
                     <td class="auto-style22">
                         <asp:TextBox ID="txtMTPwd1" runat="server" Height="20px" TextMode="Password" Width="150px"></asp:TextBox>
                     </td>
                     <td>

                         <asp:RequiredFieldValidator ID="rfvMT3" runat="server" ErrorMessage="rfvT3" ControlToValidate="txtMTPwd1">新密码不能为空！</asp:RequiredFieldValidator>

                     </td>
                     
                 </tr>
                 <tr>
                     <td style="text-align:right" class="auto-style20">
                         <asp:Label ID="lblMTPwd2" runat="server" Text="重复密码：" Font-Bold="True" ForeColor="Black"></asp:Label>
                     </td>
                     <td class="auto-style24">
                         <asp:TextBox ID="txtMTPwd2" runat="server" Height="20px" ToolTip="两次密码必须一致" TextMode="Password" Width="150px"></asp:TextBox>
                     </td>
                     <td>

                         <asp:CompareValidator ID="cpvMTP" runat="server" ErrorMessage="CompareValidator" ControlToCompare="txtMTPwd1" ControlToValidate="txtMTPwd2">密码不同！</asp:CompareValidator>

                     </td>
                 </tr>
                 <tr style="text-align:right">
                     <td class="auto-style19" colspan="2" >
                         <asp:Button ID="btnMYe" runat="server" Text="提交" OnClick="btnMYe_Click" Height="25px" Width="45px" />
                     &nbsp;&nbsp;&nbsp;&nbsp;
                         <asp:Button ID="btnMNew" runat="server" Text="重置" OnClick="btnMTNew_Click" Height="25px" Width="45px" />
                     </td>
                 </tr>
             </table>
    <br />

            
           
           
           
             &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <asp:Label ID="lblMTP" runat="server"></asp:Label>

            
           
           
           
             </asp:Content>
<asp:Content ID="Content3" runat="server" contentplaceholderid="ContentPlaceHolder5">
        
</asp:Content>

<asp:Content ID="Content4" runat="server" contentplaceholderid="ContentPlaceHolder4">
    <asp:TreeView ID="TreeViewMT" runat="server" Height="246px" ImageSet="News" style="margin-right: 0px" Width="173px">
        <HoverNodeStyle Font-Underline="True" />
        <Nodes>
            <asp:TreeNode Text="学生信息管理" Value="学生信息管理">
                <asp:TreeNode NavigateUrl="~/MStuInfo.aspx" Text="学生基本信息" Value="学生基本信息"></asp:TreeNode>
                <asp:TreeNode NavigateUrl="~/MupSPwd.aspx" Text="修改学生密码" Value="修改学生密码"></asp:TreeNode>
            </asp:TreeNode>
            <asp:TreeNode Text="教师信息管理" Value="教师信息管理">
                <asp:TreeNode NavigateUrl="~/MTeaInfo.aspx" Text="教师基本信息" Value="教师基本信息"></asp:TreeNode>
                <asp:TreeNode NavigateUrl="~/MUpTeaPwd.aspx" Text="修改教师密码" Value="修改教师密码"></asp:TreeNode>
            </asp:TreeNode>
            <asp:TreeNode Text="管理员信息管理" Value="管理员信息管理">
                <asp:TreeNode NavigateUrl="~/Manager.aspx" Text="个人基本信息" Value="个人基本信息"></asp:TreeNode>
                <asp:TreeNode NavigateUrl="~/UpMPwd.aspx" Text="修改个人密码" Value="修改个人密码"></asp:TreeNode>
            </asp:TreeNode>
        </Nodes>
        <NodeStyle Font-Names="Arial" Font-Size="10pt" ForeColor="Black" HorizontalPadding="5px" NodeSpacing="0px" VerticalPadding="0px" />
        <ParentNodeStyle Font-Bold="False" />
        <SelectedNodeStyle Font-Underline="True" HorizontalPadding="0px" VerticalPadding="0px" />
    </asp:TreeView>
    <br />
</asp:Content>


